package com.hanthink.system.mapper;

import com.hanthink.system.domain.EmQualityWeighing;
import com.hanthink.system.domain.EmXflh;
import com.hanthink.system.domain.label.LabelVerification;

import java.util.List;
import java.util.Map;

/**
 * 质量称重Mapper接口
 * 
 * @author tzy
 * @date 2023-09-04
 */
public interface EmXflhMapper
{
    /**
     * 查询质量称重
     * 
     * @param id 质量称重ID
     * @return 质量称重
     */
        EmXflh selectEmQualityWeighingById(Long id);

    /**
     * 查询质量称重列表
     * 
     * @param emQualityWeighing 质量称重
     * @return 质量称重集合
     */
    List<EmXflh> selectEmQualityWeighingList(EmXflh emQualityWeighing);
    List<EmXflh> getList(EmXflh emQualityWeighing);
    /**
     * 新增质量称重
     * 
     * @param emQualityWeighing 质量称重
     * @return 结果
     */
    int insertEmQualityWeighing(EmXflh emQualityWeighing);

    /**
     * 修改质量称重
     * 
     * @param emQualityWeighing 质量称重
     * @return 结果
     */
    int updateEmQualityWeighing(EmXflh emQualityWeighing);

    /**
     * 删除质量称重
     * 
     * @param id 质量称重ID
     * @return 结果
     */
    int deleteEmQualityWeighingById(Long id);

    /**
     * 批量删除质量称重
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteEmQualityWeighingByIds(Long[] ids);

    EmXflh selectOneByEquipKey(String key);

    void insertInfo(Map<String, Object> params);

    List<EmXflh>  selectList(Map<String, Object> params);
}
